/*
 * @Author: viivLgr 
 * @Date: 2018-03-21 13:56:29 
 * @Last Modified by: viivLgr
 * @Last Modified time: 2018-03-26 12:49:31
 */
'use strict';
require('./index.css');
require('page/common/nav-simple/index.js');
var _util = require('util/util.js');

$(function(){
    var type = _util.getUrlParam('type') || 'default',
        $element = $('.' + type + '-success');
    if(type == 'payment'){
        $element.find('.order-number').attr('href', './order-detail.html?orderNum=' + _util.getUrlParam('orderNumber'));
    }
    // 显示对应的提示元素
    $element.show();
});